package com.itheima.dao;

import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author hql
 * @date 2019-12-04 12:49
 */


public interface SetmealDao {

    void addSetmeal(Setmeal setmeal);

    void addMid(@Param("ids") Integer[] ids, @Param("setmealId") Integer setmealId);

     List<Setmeal> findAllSetmeal(QueryPageBean queryPageBean);

     List<Setmeal> getAllSetmeal();

     Setmeal findById(Integer id);

     Setmeal findById2(Integer id);

     Setmeal findSetmeal(Integer id);

     void updateSetmeal(Setmeal setmeal);

      void delMid(Integer id);

     void delSetmeal(Integer id);

     List<Map<String, Object>> findSetmealCount();
}
